// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.ast.SQLLimit;
// import com.alibaba.druid.sql.ast.SQLOrderBy;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
#pragma once
#include "MySqlStatementImpl.h"
#include "MySqlShowStatement.h"

class MySqlShowDatasourcesStatement : virtual public MySqlStatementImpl, virtual public MySqlShowStatement
{
public:
  SQLOrderBy_ptr orderBy;
  SQLExpr_ptr where;
  SQLLimit_ptr limit;

  SHAREDOBJECT(MySqlShowDatasourcesStatement);
  SQLLimit_ptr getLimit();

  void setLimit(SQLLimit_ptr limit);

  SQLOrderBy_ptr getOrderBy();

  void setOrderBy(SQLOrderBy_ptr orderBy);

  SQLExpr_ptr getWhere();

  void setWhere(SQLExpr_ptr where);

  void accept0(MySqlASTVisitor_ptr visitor);
};
